package com.jeeplus.mob.mapper;

import com.jeeplus.mob.entity.mobpojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    UserInfo checkUserNameandPassword(@Param("loginAccount") String userName, @Param("password") String password);

    int updateLoginAccountById(@Param("id") Integer id, @Param("password") String password,@Param("updateBy") String updateBy);
}